package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;
import java.util.ArrayList;

@Mapper
public interface NursingLevelMapper {
    void update(NursingLevel nursingLevel);

    void deleteById(Long id);

    void status(Long id, Integer status);

    ArrayList<NursingLevel> listAll();

    void insert(NursingLevel nursingLevel);

    Page<NursingLevel> listByPage(String name, Integer status);

    NursingLevel getById(Long id);

}
